package com.guxiaotu.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

/**
 * @author Gu Yuanhua
 * created time 2018/8/3 15:26
 */
@Component
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Employee {

    /**
     * 学号
     */
    private Integer id;

    /**
     * 姓名
     */
    private String lastName;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 性别，1代表男性，0代表女性
     */
    private Integer gender;

    /**
     * 年龄
     */
    private Integer age;
}
